Python Scripting for Automation